08. Import Existing Project
Import Existing Project
Question:
We’ve created an initial version of the Quake Report app for you to start off with, but don’t worry--there’s still plenty left for you to do.
When a professional Android developer is joining a new project, it’s very common for the team to already have an existing app that they’re working on. It’s good practice to learn how to read an existing codebase because, oftentimes, you won’t be creating a brand new app from scratch.
Follow these instructions to import the Quake Report project into Android Studio on your computer:
Click on the “Download zip” button to download the app code.
Unzip the downloaded file on your computer so that you have a “Quake Report” folder.
Open Android Studio.
Choose File > Import Project and select the “Quake Report” folder. It may take some time for the project to be imported. If you have any issues, check the Troubleshooting document.
Once that app has successfully imported, run the app on your Android device (phone, tablet, or emulator). It should look like this screenshot.
- Open the Project tab in Android Studio so you can see the file directory.
- In Android Studio, browse through the codebase for the Quake Report app and become familiar with the project files. Then answer the questions in the quiz.
Note: If you have trouble understanding the code, no worries. You may consider revisiting the material in the last course that covers displaying a list of data in an app.